package com.demonlover.oauth2.sever.service;

import com.demonlover.oauth2.sever.domain.PermissionExample;
import java.util.List;
import com.demonlover.oauth2.sever.domain.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
 * @author  WuChao
 * @date  2020/6/3 10:50
 * @version 1.0
 */
public interface PermissionService extends IService<Permission>{


    long countByExample(PermissionExample example);

    int deleteByExample(PermissionExample example);

    List<Permission> selectByExample(PermissionExample example);

    int updateByExampleSelective(Permission record,PermissionExample example);

    int updateByExample(Permission record,PermissionExample example);
        List<Permission> selectByUserId(Long id);
}
